/*
 * @Author: ziqi jhzq12345678
 * @Date: 2024-11-29 17:30:47
 * @LastEditors: ziqi jhzq12345678
 * @LastEditTime: 2024-11-29 17:31:27
 * @FilePath: /pornhub_app/lib/src/model/pay/play_list_model.dart
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
class PlayListModel {
  String? coverImg;
  int? fakeWatchNum;
  int? playlistId;
  String? playlistName;
  int? sortNum;
  int? userId;
  int? videoNum;

  PlayListModel(
      {coverImg,
      fakeWatchNum,
      playlistId,
      playlistName,
      sortNum,
      userId,
      videoNum});

  PlayListModel.fromJson(Map<String, dynamic> json) {
    coverImg = json['coverImg'];
    fakeWatchNum = json['fakeWatchNum'];
    playlistId = json['playlistId'];
    playlistName = json['playlistName'];
    sortNum = json['sortNum'];
    userId = json['userId'];
    videoNum = json['videoNum'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['coverImg'] = coverImg;
    data['fakeWatchNum'] = fakeWatchNum;
    data['playlistId'] = playlistId;
    data['playlistName'] = playlistName;
    data['sortNum'] = sortNum;
    data['userId'] = userId;
    data['videoNum'] = videoNum;
    return data;
  }
}
